package com.lkd.service.impl;

import com.lkd.common.VMSystem;
import com.lkd.http.vo.LoginReq;
import com.lkd.http.vo.LoginResp;
import com.lkd.service.LoginService;
import com.lkd.service.PartnerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.IOException;

@Service
public class PartnerLoginServiceImpl implements LoginService {
    @Autowired
    private PartnerService partnerService;

    @Override
    public LoginResp processlogin(LoginReq req) throws IOException {
        return partnerService.login(req);
    }

    @Override
    public Integer getLoginType() {
        return VMSystem.LOGIN_PARTNER;
    }
}
